package com.sky.service;
import com.sky.result.Result;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
public interface ReportService {
    /**
     * 营业额统计功能
     * @param begin
     * @param end
     * @return
     */
    Result turnoverStatistics(LocalDate begin, LocalDate end);



    /**
     * 用户统计
     * @param begin
     * @param end
     * @return
     */
    Result userStatistics(LocalDate begin, LocalDate end);



    /**
     * 订单统计
     * @param begin
     * @param end
     * @return
     */
    Result ordersStatistics(LocalDate begin, LocalDate end);


    /**
     * top10 统计
     * @param begin
     * @param end
     * @return
     */
    Result top10(LocalDate begin, LocalDate end);

    /**
     * 到处excel表格
     * @param response
     */
    public void export(HttpServletResponse response);
}
